<%@ page import="org.ljx.taobao.controller.LogoutServlet" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>主页面</title>
</head>
<body>
<style>
    #a {
        width:50%;
        height:30%;
        border: 1px dashed ;
        background-color: #ccee90;
        text-align:center;
        margin: 250px auto;
    }

    body{
        background-color: #e0fff4;
    }
</style>
<%
    if (LogoutServlet.x == false){

    }else {
        out.print("<script>alert(\"注销成功，请重新登录\")</script>");
    }
%>
<div id="a">
    <h2>欢迎来到主页！！！</h2>
    <%session.invalidate();%>
    <h4>请选择服务！！！</h4>
    <form action="login.jsp" method="post">
        <button>登录</button>
    </form>
    <form action="register.jsp" method="post">
        <button>注册</button>
    </form>
</div>
</body>
</html>

